import React from 'react';

import { test } from './01-gen';

const App = () => {
  return <div>App</div>;
};

export default App;

let myTest = test('xx');

let res;
let i = 1;
do {
  res = myTest.next('a_' + i);
  console.log('res', res);
  i++;
} while (!res.done);
